Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632727 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/58 - Simon Game

sounds/ cody/swapnilsparsh/30DaysOfJavaScript/58 - Simon Game/sounds/
5 Items
  • green.mp3
  • blue.mp3
  • wrong.mp3
  • yellow.mp3
  • red.mp3
  • styles.css cody/swapnilsparsh/30DaysOfJavaScript/58 - Simon Game/styles.css
    105 Views
    0 Comments
    body {
    text-align: center;
    background-color: #317dcf;
    }

    #level-title {
    font-family: "Press Start 2P", cursive;
    font-size: 3rem;
    index.html cody/swapnilsparsh/30DaysOfJavaScript/58 - Simon Game/index.html
    309 Views
    0 Comments
    <!DOCTYPE html>
    <html lang="en" dir="ltr">
    <head>
    <meta charset="utf-8" />
    <title>Simon Game</title>
    <link rel="stylesheet" href="styles.css" />
    <link
    href="https://fonts.googleapis.com/css?family=Press+Start+2P"
    game.js cody/swapnilsparsh/30DaysOfJavaScript/58 - Simon Game/game.js
    129 Views
    0 Comments
    var buttonColours = ["red","blue","green","yellow"];

    var gamePattern = [];

    var userClickedPattern = [];

    var started = false;